<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/inc/taglib.jsp"%>
<div class="pageContent">
	<form method="post" action="${pageContext.request.contextPath}${requestScope.record ==null ?'/shopOrder/cardRecharge/insert' :'/shopOrder/cardRecharge/update' }" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<!-- 关闭窗口 -->
			<input type="hidden" name="callbackType" value="closeCurrent" />
			<!-- 隐藏表单 -->
			
			<c:if test="${requestScope.record !=null}">
																	
					<input type="hidden" name="cardRechargeId" value="${requestScope.record.cardRechargeId}" />
																																																																																							
			</c:if>
			
																						<p>
					<label>店铺ID</label> <input name="shopId" class="required" maxlength="50" type="text" value="${requestScope.record.shopId}"  />
				</p>
								<p>
					<label>充值金额</label> <input name="rechargeMoney" class="required" maxlength="11" type="text" value="${requestScope.record.rechargeMoney}"  />
				</p>
								<p>
					<label></label> <input name="orderPayId" class="required" maxlength="50" type="text" value="${requestScope.record.orderPayId}"  />
				</p>
								<p>
					<label>会员卡ID</label> <input name="memberCardId" class="required" maxlength="50" type="text" value="${requestScope.record.memberCardId}"  />
				</p>
								<p>
					<label>赠送金额 = 充值金额 - 实收金额</label> <input name="giveMoney" class="required" maxlength="11" type="text" value="${requestScope.record.giveMoney}"  />
				</p>
								<p>
					<label>实收金额</label> <input name="realMoney" class="required" maxlength="11" type="text" value="${requestScope.record.realMoney}"  />
				</p>
								<p>
					<label></label> <input name="addTime" class="required" maxlength="${field.size}" type="text" value="${requestScope.record.addTime}"  />
				</p>
								<p>
					<label></label> <input name="operator" class="required" maxlength="50" type="text" value="${requestScope.record.operator}"  />
				</p>
						
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div></li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
